public class ValueModelAgent extends Agent
| Modifier and Type | Field and Description |
|---|---|
double |
myMaximumUtility |
double |
noChangeCounter |
BidList |
opponentBids |
double |
opponentMaxBidUtil |
double |
opponentStartbidUtil |
BidList |
ourBids |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
ValueModelAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
bestScan() |
void |
chickenGame(double timeToGive,
double concessionPortion,
double acceptableThresh) |
Action |
chooseAction()
this function is called after ReceiveMessage,
with an Offer-action.
|
void |
exploreScan() |
java.lang.String |
getName() |
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, getVersion, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic BidList opponentBids
public BidList ourBids
public double opponentStartbidUtil
public double opponentMaxBidUtil
public double myMaximumUtility
public double noChangeCounter
public void init()
Agentpublic void ReceiveMessage(Action opponentAction)
AgentReceiveMessage in class Agentpublic Action chooseAction()
AgentchooseAction in class Agentpublic void bestScan()
public void exploreScan()
public void chickenGame(double timeToGive,
double concessionPortion,
double acceptableThresh)